<?php namespace Admin\Controller;
use Hdphp\Controller\Controller;
 class CommonController extends Controller{
 	
	public function __construct(){
		//判断如果没有SESSION【aid】跳到登录页面
		if(!isset($_SESSION['aid'])){
			go("Login/index");
		}
		
		parent::__construct();
	}
}